package com.baizhi.zjs.entity;

public class ItemEntity {
	/* id                   VARCHAR2(40)                    not null,
	   book_name            VARCHAR2(20),   --图书名
	   book_src             VARCHAR2(20),   --图片路径
	   price                NUMERIC(8, 2),   --价格
	   count                NUMBER(8),       --数量
	   amount               NUMERIC(8, 2),   --小计
	   book_id              VARCHAR2(40),    --图书id
	   order_id             VARCHAR2(40),    --订单id*/
	private String id;
	private String book_name;
	private String book_src;
	private Double price;
	private Integer count;
	private Double amount;
	private String book_id;
	private String order_id;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getBook_name() {
		return book_name;
	}
	public void setBook_name(String book_name) {
		this.book_name = book_name;
	}
	public String getBook_src() {
		return book_src;
	}
	public void setBook_src(String book_src) {
		this.book_src = book_src;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public String getBook_id() {
		return book_id;
	}
	public void setBook_id(String book_id) {
		this.book_id = book_id;
	}
	public String getOrder_id() {
		return order_id;
	}
	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}
	public ItemEntity(String id, String book_name, String book_src,
			Double price, Integer count, Double amount, String book_id,
			String order_id) {
		super();
		this.id = id;
		this.book_name = book_name;
		this.book_src = book_src;
		this.price = price;
		this.count = count;
		this.amount = amount;
		this.book_id = book_id;
		this.order_id = order_id;
	}
	public ItemEntity() {
		super();
	}
	@Override
	public String toString() {
		return "ItemEntity [id=" + id + ", book_name=" + book_name
				+ ", book_src=" + book_src + ", price=" + price + ", count="
				+ count + ", amount=" + amount + ", book_id=" + book_id
				+ ", order_id=" + order_id + "]";
	}
	
}
